<!--
 * @Author: 唐锋
 * @Date: 2019-06-14 16:36:34
 * @Description: 主页面
 -->
 <template>
  <div class="index">
    <el-container>
      <el-header height="64px">
        <MyHeader/>
      </el-header>
      <el-container>
        <el-aside width="240px">
          <MyAside/>
        </el-aside>
        <el-main>
          <MyMain/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
 
 <script>
import MyHeader from "@/components/MyHeader";
import MyAside from "@/components/MyAside";
import MyMain from "@/components/MyMain";
export default {
  components: { MyHeader, MyAside, MyMain },
  props: {},
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {}
};
</script>
 <style lang="scss" scoped>
.index {
  .el-header {
    background-color: #6d2377;
    color: #fff;
    line-height: 64px;
  }
  .el-aside {
    padding: 20px 20px 0 20px;
    height: calc(100vh - 64px);
    
  }
  .el-main {
    height: calc(100vh - 64px);
    padding: 20px 20px 0 0;
  }
}
</style>
